package com.phoenix.mapper;

import com.phoenix.entity.GroupChampionship;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface GroupChampionshipMapper {
    Boolean addGroupChampionship(GroupChampionship groupChampionship);

    Boolean groupChampionshipDelete(List<String> idList);

    Boolean groupChampionshipDeleteSingle(String id);

    List<GroupChampionship> selectNSearch(Map<String, Object> search);

    List<GroupChampionship> selectNSearchForUser(Map<String, Object> search);

    GroupChampionship getGroupChampionshipByID(Integer ID);

    Boolean updateGroupChampionship(GroupChampionship groupChampionship);
}
